<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">

    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>抽奖记录</title>
    <link rel="stylesheet" href="{RES}/css/style-log.css">
    <link rel="stylesheet" href="{RES}/css/bootstrap.min.css">
</head>

<body>
<div class="box">
    <div class="pt-title">
        <a href="{php echo $this->createMobileUrl('index')}"><img src="{RES}/img/pt_back_b.png" alt=""></a>抽奖记录
    </div>
    <table class="table lby-con table-hover table-striped">
      <tr class="lby-t">
      	<td>序号</td>
      	<td>昵称</td>
        <td>奖品</td>
        <td>状态</td>
      </tr>
        {php $i = 0;}
        {loop $logs $key $item}
        {php $i++;}
      <tr>
      	<td>{$i}</td>
        <td>{$item['log_nickname']}</td>
        <td>{$item['log_prize']}</td>
        <td> {if $item['log_blank'] == 2}<label class="label label-danger">未中奖</label>{else}{if $item['log_state'] == 1}<label class="label label-default">未发送</label>{else}<label class="label label-info">已发送</label>{/if}{/if}</td>
      </tr>
        {/loop}

    </table>    
</div>
</body>
</html>
